<?
 
//require_once('init.php');
include('functions.php');

//解密

$aflag=$_REQUEST["actionflag"]; //qing gai wei Post $_REQUEST POST["actionflag"]
switch ($aflag) 
{
	case "0":
  	  	$username = $_REQUEST['username'] ; //$_POST["username"];
  		$pass    = $_REQUEST['password'];  //$_POST["password"];	
  		echo updateServerIp($username,$pass);
		exit;
	case "1":
	  	$username = $_REQUEST['username'] ; //$_POST["username"];
  		$pass    = $_REQUEST['password'];  //$REQUEST_POST["password"];	
  		echo getServerIp($username,$pass);
		exit;
	case "2":
     
	case "3": // 
  		 
	case "4": // 
  		 
	case "5": // 
      	exit;
	case "6": // 
        exit;
	case "7": // 
   		exit;
	case "8": //IP
		exit;
	case "9": // 
		exit	;
	case "10": // 
		exit	;
	default:
       exit;
}
?>
